package com.xunyin.modules.goods.vo;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 茶室柜台商品Vo 结果对象
 * </p>
 *
 * @author admin
 * @date 2022-10-29
 */
@Data
@ApiModel(description = "茶室柜台商品")
public class GoodsInfoVo implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    private Integer mainId;

    private Integer teaHouseId;

    private Integer teaRoomId;

    private Integer goodsId;

    private Integer containerNum;

    private Integer price;

    private Integer stock;

    private Integer publishStatus;

    private Integer status;

    private String goodsName;

    private String goodsDetail;

    private String images;

    private String brand;

    private String categoryName;

    private String sizeDesc;

    private String isDiscount;

    /*    select
    rg.id,
    rg.main_id mainId,
    rg.tea_house_id teaHouseId,
    rg.tea_room_id teaRoomId,
    rg.goods_id goodsId,
    rg.container_num containerNum,
    rg.price,
    rg.stock,
    rg.publish_status publishStatus,
    rg.status,
    g.goods_name goodsName,
    g.goods_detail goodsDetail,
    g.images,
    g.brand,
    g.category_name categoryName,
    g.size_desc sizeDesc,
    g.is_discount isDiscount
    from st_tea_room_container_goods_link rg
    INNER JOIN st_goods g on rg.goods_id=g.id
    where rg.id=#{id} and rg.status=1 and g.status=1*/


}
